import React, { Component } from 'react'
import route from 'components/routes'
import agent from 'lib/utils/agent'
import moment from 'moment'
import 'moment/locale/zh-cn'
import './app.less'
// import './uxcore.css'
moment.locale('zh-cn')

export default class App extends Component {
  render () {
    if (agent.isPC()) {
      return <div>请在手机打开</div>
    }
    if (!agent.isWx()) {
      return <div>请在微信中打开</div>
    }
    return (
      <div>
        {route}
      </div>
    )
  }
}
